Skip to main content

mediaFoundationVideoProcessorSetDestinationRect

Type​

command

Summary​

Set the destination rect of the video processor Platform:windowsPlatform: desktop

Syntax​

mediaFoundationVideoProcessorSetDestinationRect <pVideoProcessorID>, <pLeft>, <pTop>, <pRight>, <pBottom>

Description​

Set the source and destination rect when transcoding video from one frame size to another.

Parameters​

NameTypeDescription

pVideoProcessorID

integer

A video processor id

pLeft

integer

The left of the destination rect

pTop

integer

The top of the destination rect

pRight

integer

The right of the destination rect

pBottom

integer

The bottom of the destination rect

The result (c-string): An error string if an error occured

command: mediaFoundationTranscode, mediaFoundationCreateVideoProcessor

Compatibility and Support​

OS

windows

Thank you for your feedback!

Was this page helpful?